package main

import (
	"fmt"
)

func test(fn func() int, fn1 func(int) int) int {
	v := fn()

	return fn1(v)
}

func main() {
	fn := func() int { return 100 }
	fn1 := func(i int) int {
		return i / 100
	}
	s1 := test(fn, fn1)
	fmt.Println(s1)
}
